package com.telephone.purchase.service;

import com.telephone.purchase.entity.LoginUser;

/**
 * Created by unicom on 2019/8/29.
 *
 */
public interface LoginUserService {

    LoginUser findById(Long id);
    LoginUser findUserByEmail(String userEmail);
    LoginUser findUserByPhone(String phoneNumber);
    LoginUser save(LoginUser loginUser);
    int emailIsExist(String userEmail);
    String updatePassword(String userPassword, String phoneNumber);

}